﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="services">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="service">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="endpoint">
                <xs:complexType>
                  <xs:attribute name="address" type="xs:string" use="required" />
                  <xs:attribute name="binding" type="xs:string" use="required" />
                  <xs:attribute name="contract" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="host">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="baseAddresses">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="add">
                            <xs:complexType>
                              <xs:attribute name="baseAddress" type="xs:string" use="required" />
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="behaviorConfiguration" type="xs:string" use="required" />
            <xs:attribute name="name" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>